package com.groupten.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * 学生答题卷表
 */
@Data
@TableName("student_paper")
public class StudentPaperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long stupaperId;

    /**
     * 学生学号
     */
    private String studentNumber;

    /**
     * 试卷编号
     */
    private Integer paperSession;

    /**
     * 考试总分
     */
    private Double score;

    /**
     * 班级号
     */
    private String classNumber;

    /**
     * 成绩是否加入统计
     */
    private Boolean isAttendCount;

}
